package com.claude.util;

import java.sql.Date;
import java.sql.Time;
import java.util.Calendar;

public class TimeTool {
	public static Time getTime() {
		return new Time(Calendar.getInstance().getTimeInMillis());
	}

	public static Date getDate() {
		return new Date(Calendar.getInstance().getTimeInMillis());
	}
	
	public static int getWeek(){
		return Calendar.getInstance().get(Calendar.DAY_OF_WEEK);
	}
}
